package com.example.compose.retrofit.updataApp

import java.io.File

sealed class DownloadStatus{
    class DownloadProcess(val currentLength: Long, val length: Long, val process: Float) :DownloadStatus()
    class DownloadError(val t: Throwable) : DownloadStatus()
    object DownloadNetworkChangesFlow : DownloadStatus()
    class DownloadSuccess(val file: File?) : DownloadStatus()
}
